package com.example.BOOK.data;

import java.io.Serializable;

public class Book implements Serializable
    {
        private String title;
        private int number;

        public Book(String title, int bookId) {
            this.title=title;
            this.number=bookId;
        }

        public String getTitle() {
            return title;
        }
        public int getCoverResourceId() {
            return number;
        }
        public void setName(String name){this.title=name;}
        public void setNumber(int number) {
            this.number = number;
        }
    }
